<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/30
 * Time: 16:39
 */

namespace app\api\Model;
use think\Db;
use think\Exception;
use think\Model;

class Image extends BaseModel
{
//    protected  $table = 'image';

    protected $hidden = ['update_time','delete_time','id','from'];

    public function getUrlAttr($value, $data)
    {
      return $this->prefixImgUrl($value,$data);
    }

}